package com.atmilan.quartz.model.entity.europe;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author Howe Hsiang
 * @since 2020-11-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class EuropeCategory extends Model<EuropeCategory> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonProperty(value = "id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 类目id
     */
    @JsonProperty(value = "category_id")
    private Integer categoryId;

    /**
     * 类目名称
     */
    @JsonProperty(value = "category_name")
    private String categoryName;

    /**
     * 父级类目ID
     */
    @JsonProperty(value = "parent_id")
    private Integer parentId;

    /**
     * 父级类目名称
     */
    @JsonProperty(value = "parent_name")
    private String parentName;

    /**
     * 商品类型
     */
    @JsonProperty(value = "goods_type")
    private String goodsType;

    /**
     * 删除标识
     */
    @JsonProperty(value = "is_deleted")
    private Integer isDelete;

    /**
     * 是否是新类目
     */
    @JsonProperty(value = "is_new")
    private Integer isNew;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @JsonProperty(value = "created_time")
    private Date createdTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @JsonProperty(value = "modify_time")
    private Date modifyTime;




}
